disable
Type
command
Summary
Dims a control so that it no longer responds to user actions.
Syntax
disable <object>
Description
Use the disable command to prevent an object from responding to mouse clicks or keyboard presses.
The disable command is equivalent to setting the object's disabled property to true.
Parameters
Name | Type | Description |
---|---|---|
object | Any control in an open stack. |
Examples
disable field 1
disable button 2 of card 7 of stack "Overall Controls"
Related
command: enable, disable menu, hide
glossary: object, command, property
keyword: control
property: cantSelect, visible, disabledIcon, enabled, lockText, disabled, invisible, traversalOn
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile